package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: db_industry
 * @Author: jeecg-boot
 * @Date:   2024-06-17
 * @Version: V1.0
 */
@Data
@TableName("db_industry")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="db_industry对象", description="db_industry")
public class DbIndustry implements Serializable {
    private static final long serialVersionUID = 1L;

	/**行业代码*/
	@Excel(name = "行业代码", width = 15)
    @ApiModelProperty(value = "行业代码")
    private String code;
	/**行业名*/
	@Excel(name = "行业名", width = 15)
    @ApiModelProperty(value = "行业名")
    private String name;
	/**父级行业代码*/
	@Excel(name = "父级行业代码", width = 15)
    @ApiModelProperty(value = "父级行业代码")
    private String parentCode;
	/**级别（0：一级；1：二级）*/
	@Excel(name = "级别（0：一级；1：二级）", width = 15)
    @ApiModelProperty(value = "级别（0：一级；1：二级）")
    private Integer lev;
    /**子级行业*/
    @TableField(exist = false)
    private List<DbIndustry> children;
}
